POST Request (JSON)
Command Prototype
sRet = HTTP.PostJson(sURL, sJSON, iTimeout)
Command Description
Sends an HTTP POST request to a given URL, passing along a JSON object, and returns the server response
Parameter Description
- Required Parameter
- sURL--URL to send the request to
- sJSON--The JSON data sent along with the POST request. Can be a JSON-formatted string or a dictionary
- iTimeout--Time (in milliseconds) before the request times out
- return
- sRet--The variable used to save the output of the function call